#ifndef _SCROLLUSERLIT_H_
#define _SCROLLUSERLIT_H_

#include <interfacelib/window/scroll.h>
#include "Define/LobbyUser.h"

class ScrollUserList : public interfacelib::Window::Scroll < LobbyUser * >
{
public:
	ScrollUserList();
	virtual ~ScrollUserList();

public:
	virtual void drawScroll( LPD3DXSPRITE sprite );
	void addUser( char  *userID );
	virtual bool drawElement( int x, int y, LobbyUser *object ,  LPD3DXSPRITE sprite );
	bool isExist( const char *userID );
	void removeUser( const char *userID  );

};

#endif